package com.zhiyin.seal.service;

import com.zhiyin.seal.entity.bo.AccessTokenBo;
import com.zhiyin.seal.entity.bo.SdkDeviceBo;

import java.util.List;
import java.util.Map;

/**
 * 系统服务
 */
public interface SystemService {

    Boolean updateAccessToken(AccessTokenBo accessTokenBo);

    AccessTokenBo getAccessToken(Integer type);

    SdkDeviceBo getSdkDevice(String mac);

    Integer insertData(String sql);

    List<Map<String,Object>> fetchData(String sql);

    Integer updateData(String sql);

    Integer deleteData(String sql);
}
